<template>
  <BasicLayout title="选择套餐/服务">
    <IndexList slot="content" :lists="lists" :menuList="menuList" />
    <ShoppingCar slot="footer" @commit="commit" />
  </BasicLayout>
</template>
<script>
import BasicLayout from "@/components/BasicLayout/index.vue";
import IndexList from "@/components/IndexList/index.vue";
import ShoppingCar from "@/components/ShoppingCar/index.vue";
import { lists, menuList } from "./constants";

export default {
  components: {
    IndexList,
    BasicLayout,
    ShoppingCar,
  },
  methods: {
    commit() {
      this.$router.push({ name: "SelectStaff" });
    },
  },
  data() {
    return {
      lists,
      menuList,
    };
  },
};
</script>

<style></style>
